package com.boot.notes.stream;

import lombok.Data;

@Data
public class StudentEntity {

    /**
     * 学生ID
     */
    private int id;

    /**
     * 学生姓名
     */
    private String name;

    /**
     * 学生年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String sex;

    public StudentEntity() {
        super();
    }

    public StudentEntity(String name, Integer age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public StudentEntity(int id, String name, Integer age, String sex) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

}
